fix(msi): use standard replace mode for MSI installer
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 7 Apr 2025 15:57:21 +0000 (17:57 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 30 May 2025 07:40:29 +0000 (09:40 +0200)
shoudl enable replacing files during install happen only when needed
instead of always

will need to take care of migration from older releases

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
admin/win/msi/Nextcloud.wxs

index 38ea1632a0eb26a51dc4c9a5b78f44ce5139a295..a655c74cfe75707d0edfa5ab946b71c2c8c0b6d5 100644 (file)
@@ -45,7 +45,7 @@
         https://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/
     -->
     <MajorUpgrade Schedule="afterInstallInitialize" AllowDowngrades="yes" />
-    <Property Id="REINSTALLMODE" Value="amus" />
+    <Property Id="REINSTALLMODE" Value="omus" />
 
     <Media Id="1" Cabinet="$(var.AppShortName).cab" EmbedCab="yes" />